package com.google.code.sip.ucenter.ws.dto;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.google.code.sip.ucenter.ws.adapter.DateAdapter;

/**
 * 火秀币帐户实体类
 * 
 * @author Liuye
 * 
 */
@SuppressWarnings("serial")
@XmlRootElement(name = "huoshowAccount")
@XmlSeeAlso(BaseDto.class)
@XmlAccessorType(XmlAccessType.FIELD)
public class HuoshowAccountDto extends BaseDto {
	/**
	 * 用户id
	 */
	private String userId;

	/**
	 * 火秀币余额
	 */
	private long balance;

	/**
	 * 最后更新日期
	 */
	@XmlJavaTypeAdapter(DateAdapter.class)
	private Date latedUpdatedDate;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public long getBalance() {
		return balance;
	}

	public void setBalance(long balance) {
		this.balance = balance;
	}

	public Date getLatedUpdatedDate() {
		return latedUpdatedDate;
	}

	public void setLatedUpdatedDate(Date latedUpdatedDate) {
		this.latedUpdatedDate = latedUpdatedDate;
	}
}
